package com.shen.accountbook.bean;

import java.util.List;

/**
 * author:  shen
 * date:    2019/2/14
 */
public class ReportFormsBean {

    private float total;
    private String date;
    private List<TMoneyBean> typeMoney;

    public float getTotal() {
        return total;
    }

    public void setTotal(float total) {
        this.total = total;
    }


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<TMoneyBean> getTypeMoney() {
        return typeMoney;
    }

    public void setTypeMoney(List<TMoneyBean> typeMoney) {
        this.typeMoney = typeMoney;
    }

    public static class TMoneyBean {
        /** 这一类型 -- 这个时间段 -- 的金钱 */
        private float money;
        /** 某一类型id  -- 可能是 "二级"也可能是"三级" */
        private long typeId;
        /** 某一类型Name -- 可能是 "二级"也可能是"三级" */
        private String typeName;
        /** 某一类型对应的颜色 -- 可能是 "二级"也可能是"三级" */
        private String backColor;

        public float getMoney() {
            return money;
        }

        public void setMoney(float money) {
            this.money = money;
        }

        public long getTypeId() {
            return typeId;
        }

        public void setTypeId(long typeId) {
            this.typeId = typeId;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }

        public String getBackColor() {
            return backColor;
        }

        public void setBackColor(String backColor) {
            this.backColor = backColor;
        }

        @Override
        public String toString() {
            return "TMoneyBean{" +
                    "money=" + money +
                    ", typeId=" + typeId +
                    ", typeName='" + typeName + '\'' +
                    ", backColor='" + backColor + '\'' +
                    '}';
        }

    }

    @Override
    public String toString() {
        return "ReportFormsBean{" +
                "total=" + total +
                ", date='" + date + '\'' +
                ", typeMoney=" + typeMoney.toString() +
                '}';
    }
}
